var express = require('express');
var router = express.Router();
var dataCtrl=require('../controllers/cate.controller');
/* GET users listing. */
router.post('/',dataCtrl.create);
router.put('/:id',dataCtrl.update);
router.post('/list/:type',dataCtrl.list);
router.get('/:id',dataCtrl.get);
router.post('/removes',dataCtrl.removes);
module.exports = router;
